<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<html>
<head>
    <title>Title</title>
    <script src="/bootstrap/jquery-1.9.1.min.js"></script>
</head>
<body>
        <table>
            <tr>
                <td>订单编号</td>
                <td>订单日期</td>

                <td>客户名称</td>
                <td>优先级</td>
                <td>总金额</td>
                <td>备注</td>
                <td>联系人</td>
                <td>送货地址</td>
                <td>联系电话</td>
                <td>制单人工号</td>
                <td>制单人</td>
                <td>制单时间</td>
                <td>附件</td>
                <td>操作</td>
            </tr>
            <c:forEach items="${pageInfo.list}" var="o">
                <tr>
                    <td>${o.id}</td>
                    <td>${o.orderDate}</td>
                    <td>${o.cname}</td>
                    <td>${o.priority}</td>
                    <td>${o.sumss}</td>
                    <td>${o.comment}</td>
                    <td>${o.contacts}</td>
                    <td>${o.address}</td>
                    <td>${o.phone}</td>
                    <td>${o.preparerid}</td>
                    <td>${o.preparer}</td>
                    <td>${o.preTime}</td>
                    <td>${o.pic}</td>
                </tr>
            </c:forEach>
        </table>

</body>
</html>
